package com.flyxteam.commons.test.dao.mybatis;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;

import com.flyxteam.commons.dao.mybatis.core.annotation.Column;
import com.flyxteam.commons.dao.mybatis.core.annotation.Table;

@Table(tableName="t_user_info")
//@Table()
//@Table(tableName="t_user_info")
public class TUserInfo implements Serializable {

	private static final long serialVersionUID = 8144814234840393832L;

	@Id
	@Column(columnName="id")
//	@PK
//	@Column()
//	@Column(columnName="id")
	private String id;
	@Column(useDbDefaultValue=true)
//	@Column(columnName="user_name")
	private String userName;
	@Column()
//	@Column(columnName="age")
	private Integer age;
	@Column()
//	@Column(columnName="birthday")
	private Date birthday;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

}
